package com.dayuanit.dy16.atm.service;

import com.dayuanit.dy16.atm.dto.MessageDTO;
import com.dayuanit.dy16.atm.holder.PageHolder;

import java.util.List;

public interface IMessageService {

    PageHolder<MessageDTO> queryMessages(long userId, int currentPage);

    List<MessageDTO> unReadMsg(long userId);
}
